package main

import (
	"fmt"
	"sort"
)

func main() {
	var x,y,z int
	fmt.Scanf("%d,%d,%d", &x, &y, &z)
	int_list := []int{x,y,z}
	sort.Ints(int_list)
	for _,i := range int_list{
		fmt.Print(i)
	}
}
